package com.tianji.learning.service;

import com.tianji.learning.domain.po.PointsBoardSeason;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xzh
 * @since 2024-03-18
 */
public interface IPointsBoardSeasonService extends IService<PointsBoardSeason> {

    /**
     * 查询所有赛季名称等信息
     * @return
     */
    List<PointsBoardSeason> queryBoardSeasonList();

    /**
     * 根据时间获得赛季id
     * @param date
     * @return
     */
    Integer queryBoardSeasonId(LocalDate date);
}
